package httpclient;


import httpclient.bean.HttpResult;

public class TestApi {
    static HttpClient httpClient = HttpClient.getInstance()
            .newBuilder().build();
    public static void main(String[] args) {

        HttpResult httpResult = httpClient.new Request().get().request("https://www.baidu.com/");
        System.out.println(httpResult.getResult());
    }

}
